package com.api.shopapi.service;

import com.api.shopapi.entity.CashierCartGoodsPrice;
import com.api.shopapi.entity.dto.CartGoodsPriceDTO;
import com.api.shopapi.entity.dto.CashierCartGoodsPriceDTO;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CashierCartGoodsPriceService {

    int insert(CashierCartGoodsPrice cashierCartGoodsPrice);

    int delete(String cashierCartGoodsPriceCode);

    int update(CashierCartGoodsPrice cashierCartGoodsPrice);

    List<CashierCartGoodsPrice> getList();

    CashierCartGoodsPrice getByCashierCartGoodsPriceCode(String cashierCartGoodsPriceCode);

    CashierCartGoodsPriceDTO getByCashierCartGoodsCode(String cashierCartGoodsCode);

}
